-- GENERATED SPELL FOR [Hogger] --


function spell0_448(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(6730,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_448', 2254, 1)
end

function spell1_448(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_448', 20000, 1)
end

function spell2_448(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_448', 3000, 1)
end

function Sorts_448(pUnit, Event)
local choix_sorts_448 = math.random(0, 2)
if choix_sorts_448 == 0 then
pUnit:RegisterEvent('spell0_448', 1, 1)
end
if choix_sorts_448 == 1 then
pUnit:RegisterEvent('spell1_448', 1, 1)
end
if choix_sorts_448 == 2 then
pUnit:RegisterEvent('spell2_448', 1, 1)
end
end

function mob448_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_448', math.random(1500, 3000), 1)
end

function mob448_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob448_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob448_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(448, 1, 'mob448_Action')
RegisterUnitEvent(448, 2, 'mob448_Leave')
RegisterUnitEvent(448, 3, 'mob448_Kill')
RegisterUnitEvent(448, 4, 'mob448_Die')
